package io.renren.modules.onlinestudy.entity;

import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;
import java.util.Date;



/**
 * 
 * 
 * @author zhubsh
 * @email sd_zhusbh@163.com
 * @date 2018-10-26 17:13:53
 */
public class QuestionEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private String id;
	//题目说明
	private String title;
	//题目类型   0：单选  1：判断  2：多选
	private String questionType;
	//图片或视频内容
	private String image;
	//答案说明
	private String description;
	//答案A
	private String answerA;
	//答案B
	private String answerB;
	//答案C
	private String answerC;
	//答案D
	private String answerD;
	//A是否正确答案
	private String isAnswerA;
	//B是否正确答案
	private String isAnswerB;
	//C是否正确答案
	private String isAnswerC;
	//D是否正确答案
	private String isAnswerD;
	//创建时间
	private String createTime;
	//创建人
	private String createName;
	//
	private String state;

	private MultipartFile imageFile;

	/**
	 * 设置：
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public String getId() {
		return id;
	}
	/**
	 * 设置：题目说明
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * 获取：题目说明
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * 设置：题目类型   0：单选  1：判断  2：多选
	 */
	public void setQuestionType(String questionType) {
		this.questionType = questionType;
	}
	/**
	 * 获取：题目类型   0：单选  1：判断  2：多选
	 */
	public String getQuestionType() {
		return questionType;
	}
	/**
	 * 设置：图片或视频内容
	 */
	public void setImage(String image) {
		this.image = image;
	}
	/**
	 * 获取：图片或视频内容
	 */
	public String getImage() {
		return image;
	}
	/**
	 * 设置：答案说明
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * 获取：答案说明
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * 设置：答案A
	 */
	public void setAnswerA(String answerA) {
		this.answerA = answerA;
	}
	/**
	 * 获取：答案A
	 */
	public String getAnswerA() {
		return answerA;
	}
	/**
	 * 设置：答案B
	 */
	public void setAnswerB(String answerB) {
		this.answerB = answerB;
	}
	/**
	 * 获取：答案B
	 */
	public String getAnswerB() {
		return answerB;
	}
	/**
	 * 设置：答案C
	 */
	public void setAnswerC(String answerC) {
		this.answerC = answerC;
	}
	/**
	 * 获取：答案C
	 */
	public String getAnswerC() {
		return answerC;
	}
	/**
	 * 设置：答案D
	 */
	public void setAnswerD(String answerD) {
		this.answerD = answerD;
	}
	/**
	 * 获取：答案D
	 */
	public String getAnswerD() {
		return answerD;
	}
	/**
	 * 设置：A是否正确答案
	 */
	public void setIsAnswerA(String isAnswerA) {
		this.isAnswerA = isAnswerA;
	}
	/**
	 * 获取：A是否正确答案
	 */
	public String getIsAnswerA() {
		return isAnswerA;
	}
	/**
	 * 设置：B是否正确答案
	 */
	public void setIsAnswerB(String isAnswerB) {
		this.isAnswerB = isAnswerB;
	}
	/**
	 * 获取：B是否正确答案
	 */
	public String getIsAnswerB() {
		return isAnswerB;
	}
	/**
	 * 设置：C是否正确答案
	 */
	public void setIsAnswerC(String isAnswerC) {
		this.isAnswerC = isAnswerC;
	}
	/**
	 * 获取：C是否正确答案
	 */
	public String getIsAnswerC() {
		return isAnswerC;
	}
	/**
	 * 设置：D是否正确答案
	 */
	public void setIsAnswerD(String isAnswerD) {
		this.isAnswerD = isAnswerD;
	}
	/**
	 * 获取：D是否正确答案
	 */
	public String getIsAnswerD() {
		return isAnswerD;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public String getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：创建人
	 */
	public void setCreateName(String createName) {
		this.createName = createName;
	}
	/**
	 * 获取：创建人
	 */
	public String getCreateName() {
		return createName;
	}
	/**
	 * 设置：
	 */
	public void setState(String state) {
		this.state = state;
	}
	/**
	 * 获取：
	 */
	public String getState() {
		return state;
	}

    public MultipartFile getImageFile() {
        return imageFile;
    }

    public void setImageFile(MultipartFile imageFile) {
        this.imageFile = imageFile;
    }
}
